/**
 * 数据驾驶舱路由
 */
export default [
  {
    path: '/cockpit',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'overview',
        name: 'CockpitOverview',
        component: () => import('@/views/cockpit/Overview.vue'),
        meta: { title: '数据概览' }
      },
      {
        path: 'monitor',
        name: 'CockpitMonitor',
        component: () => import('@/views/cockpit/Monitor.vue'),
        meta: { title: '实时监控' }
      },
      {
        path: 'big-screen',
        name: 'CockpitBigScreen',
        component: () => import('@/views/cockpit/BigScreen.vue'),
        meta: { title: '数据大屏' }
      },
      {
        path: 'settings',
        name: 'CockpitSettings',
        component: () => import('@/views/cockpit/Settings.vue'),
        meta: { title: '驾驶舱配置' }
      }
    ]
  }
]

